package com.ht.service;

import com.ht.bean.Test;
import com.ht.common.Pager;
import com.ht.dao.TestDao;

public class TestServiceImpl implements TestService {
	
	private TestDao testDao;
	
	public void setTestDao(TestDao testDao) {
		this.testDao = testDao;
	}

	@Override
	public Test add(Test t) {
		return testDao.add(t);
	}

	@Override
	public Test query(Test t) {
		return testDao.query(t);
	}

	@Override
	public Test update(Test t) {
		return testDao.update(t);
	}

	@Override
	public Pager<Test> queryAll(Pager<Test> t) {
		return testDao.queryAll(t);
	}

	@Override
	public Object count() {
		return null;
	}

	@Override
	public void delete(Test t) {
		testDao.delete(t);
	}

}
